# coding:utf-8
from . import admin
from django.urls import path
from django.conf.urls import url
from rest_framework.routers import DefaultRouter

urlpatterns = [
    # path('admin',admin.AdminUser.as_view()),
    # path('about',admin.AboutListView.as_view()),
    # url(r'^about/(?P<id>\d)/$',admin.AboutDetailView.as_view()),
    # path('login',admin.AdminUser.login)
]
# 创建路由器
router = DefaultRouter()
# 注册路由
router.register(r'artcile_category', admin.ArticleCategoryView)
# 把创建好的路由添加到 urlpatterns
urlpatterns += router.urls
